package jman.jan07;

public class Cat extends Animal{
	int amount;
	void setAmount(int amount){
		this.amount=amount;
	}
	int getAmount(){
		return this.amount;
	}
	int getMouse(){
		return amount;
	}
	void run(){
		//super.run表示调用父类的run方法。
		super.run();
		System.out.println("跑的没声音");
	}
}
